<%@ Control Language="C#" AutoEventWireup="true" Codebehind="ContactsContent.ascx.cs"
	Inherits="iPhOwa.Web.Controls.ContactsContent" %>
<asp:Panel ID="noMessagesPanel" runat="server" Visible="false" Style="text-align: center;">
	You have no contacts.
</asp:Panel>
<asp:DataList ID="notesList" runat="server" EnableViewState="false" Width="100%"
	CellPadding="0" CellSpacing="0">
	<ItemTemplate>
		<div style="padding: 2px;">
			<asp:Image runat="server" ID="noteImage" CssClass="middle" ImageUrl="~/Images/icon-contact.gif" />
			<asp:Label runat="server" ID="nameLabel" Text='<%# Eval("DisplayName") %>' Visible='<%# !(bool)Eval("IsCompany") %>' />
			<asp:Label runat="server" ID="companyLabel" Text='<%# Eval("Company") %>' Visible='<%# !string.IsNullOrEmpty(Eval("Company").ToString()) %>' />
			<asp:Panel runat="server" ID="mobilePanel" Visible='<%# !string.IsNullOrEmpty(Eval("MobilePhone").ToString()) %>'>
				Mobile:
				<asp:Label runat="server" ID="mobile" Text='<%# Eval("MobilePhone") %>' />
			</asp:Panel>
			<asp:Panel runat="server" ID="workPanel" Visible='<%# !string.IsNullOrEmpty(Eval("WorkPhone").ToString()) %>'>
				Work:
				<asp:Label runat="server" ID="work" Text='<%# Eval("WorkPhone") %>' />
			</asp:Panel>
		</div>
		<hr class="divider" />
	</ItemTemplate>
</asp:DataList>